package com.minminaya.mediaservice.Bean;

import android.util.Log;
public class SongBean {
    String name;
    SongBean next;
    SongBean pre;
    public SongBean(String name, SongBean next, SongBean pre) {
        this.name = name;
        this.next = next;
        this.pre = pre;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public SongBean getNext() {
        return next;
    }

    public void setNext(SongBean next) {
        this.next = next;
    }

    public SongBean getPre() {
        return pre;
    }

    public void setPre(SongBean pre) {
        this.pre = pre;
    }

    @Override
    public String toString() {
        return "SongBean{" +
                "name='" + name + '\'' +
                ", next=" + next +
                ", pre=" + pre +
                '}';
    }
    @Override
    protected void finalize() throws Throwable{
        super.finalize();
        Log.i("hello",this.name);
    }

}
